package  server.persistencia;

import server.excepciones.UsuarioIncorrectoException;
import java.sql.SQLException;
import java.util.ArrayList;

 


public abstract class DAOUsuario implements IDAO{
	abstract public ArrayList<Object> select(String condicion) throws SQLException;
	//Devuelve el numero de elementos insertados. 
	abstract public Object find(String condicion)throws  UsuarioIncorrectoException, SQLException;

	abstract public int insert(Object obj) throws SQLException;
	abstract public int update(Object obj) throws SQLException;
	abstract public int delete(Object person)throws SQLException ;
	
	abstract public void cerrarDAO() throws SQLException;
}
